!#/bin/sh

#产品型号名
product_name=$1

#文件远程保存的目录
remote_dir=$2

./tar_all_apk.sh ${product_name}

./auto_login_share_server.sh &
 
sleep 3

fileName=ds3-$1-all-apks.tar.bz2 

echo "uploading ${fileName} to share server..."

./scp.sh ${fileName} ${remote_dir} 
